package portal.manager.impl;

import java.io.Reader;

import portal.PortalPanel;

/**
 * 
 * @author Sorrentino
 *
 */
public class PortalPanelImpl implements PortalPanel {

	String name;
	boolean codeModule;
	boolean cacheable;
	Reader buffer;
	
	
	
	public PortalPanelImpl( String name, boolean codeModule, Reader content ) {
		this.name = name;
		this.codeModule = codeModule;
		this.buffer = content;
	}
	
	public String getName() {
		return name;
	}

	public Reader getPanelContent() {
		return buffer;
	}

	public boolean isCodeModule() {
		return codeModule;
	}

	public boolean isCacheable() {
		// TODO Auto-generated method stub
		return false;
	}

}
